import { ref } from 'vue';

export default function useEditModal() {
  const editModalRef = ref(null);

  const showEditModal = record => {
    editModalRef.value.showEditModal(record);
  };

  return {
    editModalRef,
    showEditModal,
  };
}
